<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" custReport="width=device-width, initial-scale=1.0">
    <meta name="renderer" custReport="webkit">
    <meta http-equiv="X-UA-Compatible" custReport="ie=edge">
    <link href="../../../eui/plugins/layui/css/layui.css" rel="stylesheet" media="all"/>
    <link href="../../../eui/css/components.min.css" rel="stylesheet" media="all"/>
    <link href="../../../eui/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" media="all"/>
</head>

<body>
	<script src="../../../eui/js/base.js"></script>
	<script src="../../../eui/plugins/layui/layui.js"></script>
<div class="layui-collapse">
  <div class="layui-colla-item">
    <div class="layui-colla-title">内置变量</div>
    <div class="layui-colla-content layui-show">
      <table class="layui-table">
		  <colgroup>
		    <col width="150">
		    <col width="150">
		    <col>
		  </colgroup>
		  <thead>
		    <tr>
		      <th>变量名</th>
		      <th>数据类型</th>
		      <th>变量说明</th>
		    </tr> 
		  </thead>
	 	  <tbody>
		    <tr>
		      <td>tradeDate</td>
		      <td>String</td>
		      <td>交易日期，用来获取相关数据，数据格式为yyyyMMdd，如20240329</td>
		    </tr>
		  </tbody>
		</table>
    </div>
  </div>
  <div class="layui-colla-item">
    <div class="layui-colla-title">基础函数</div>
    <div class="layui-colla-content layui-show">
      <table class="layui-table">
		  <colgroup>
		    <col width="150">
		    <col width="150">
		    <col width="200">
		    <col>
		  </colgroup>
		  <thead>
		    <tr>
		      <th>函数名</th>
		      <th>方法名</th>
		      <th>入参</th>
		      <th>函数说明</th>
		    </tr> 
		  </thead>
	 	  <tbody>
		    <tr>
		      <td>获取全量股票</td>
		      <td>getAllStocks</td>
		      <td>-</td>
		      <td>获取全量股票，股票对象的属性见对象说明【stock对象】</td>
		    </tr>
		  </tbody>
		</table>
    </div>
  </div>
  <div class="layui-colla-item">
    <div class="layui-colla-title">数据函数</div>
    <div class="layui-colla-content layui-show">
      <table class="layui-table">
		  <colgroup>
		    <col width="150">
		    <col width="150">
		    <col width="200">
		    <col>
		  </colgroup>
		  <thead>
		    <tr>
		      <th>函数名</th>
		      <th>方法名</th>
		      <th>入参</th>
		      <th>函数说明</th>
		    </tr> 
		  </thead>
	 	  <tbody>
		    <tr>
		      <td>获取日交易数据</td>
		      <td>getTradeDaily</td>
		      <td>string::tradeDate,string::tsCode</td>
		      <td>获取日交易数据，日交易数据对象的属性见对象说明【tradeDaily对象】</td>
		    </tr>
		  </tbody>
		</table>
    </div>
  </div>
  <div class="layui-colla-item">
    <div class="layui-colla-title">交易函数</div>
    <div class="layui-colla-content layui-show">
      <table class="layui-table">
		  <colgroup>
		    <col width="150">
		    <col width="500">
		    <col>
		  </colgroup>
		  <thead>
		    <tr>
		      <th>函数名</th>
		      <th>函数方法</th>
		      <th>函数说明</th>
		    </tr> 
		  </thead>
	 	  <tbody>
		    <tr>
		      <td>获取全量股票</td>
		      <td>getAllStocks()</td>
		      <td>获取全量股票，股票对象的属性见对象说明【stock对象】</td>
		    </tr>
		    <tr>
		      <td>设置股票</td>
		      <td>setStocks(list:股票code列表)</td>
		      <td>设置用于跑脚本的股票代码，如果不设置，那就是默认全量（当前是上市状态的股票，如果股票已经退市，则不会参与到策略执行中）</td>
		    </tr>
		  </tbody>
		</table>
    </div>
  </div>
  <div class="layui-colla-item">
    <div class="layui-colla-title">XX函数</div>
    <div class="layui-colla-content layui-show">
      <table class="layui-table">
		  <colgroup>
		    <col width="150">
		    <col width="500">
		    <col>
		  </colgroup>
		  <thead>
		    <tr>
		      <th>函数名</th>
		      <th>函数方法</th>
		      <th>函数说明</th>
		    </tr> 
		  </thead>
	 	  <tbody>
		    <tr>
		      <td>获取全量股票</td>
		      <td>getAllStocks()</td>
		      <td>获取全量股票，股票对象的属性见对象说明【stock对象】</td>
		    </tr>
		    <tr>
		      <td>设置股票</td>
		      <td>setStocks(list:股票code列表)</td>
		      <td>设置用于跑脚本的股票代码，如果不设置，那就是默认全量（当前是上市状态的股票，如果股票已经退市，则不会参与到策略执行中）</td>
		    </tr>
		  </tbody>
		</table>
    </div>
  </div>
</div>  
</body>
</html>